Skip to content

2023 12 maintenance#9

Open
cazlo wants to merge 4 commits intoaws-samples:masterfrom
cazlo:2023-12-maintenance
Open

2023 12 maintenance#9
cazlo wants to merge 4 commits intoaws-samples:masterfrom
cazlo:2023-12-maintenance

Conversation

@cazlo
Copy link
Copy Markdown

@cazlo cazlo commented Dec 24, 2023

Issue #, if available:

Description of changes:

  • use latest available dcv version
  • version lock to al2 to avoid breaking changes with al2023 (like lack of built-in gnome support)
  • use latest nvidia drivers (same ones used by EKS optimized GPU AL2 AMI)

Test state

I have only built the image so far, so have not tested this from within an AWS batch or other EC2 context. The container image builds successfully in about 90 seconds on my machine.

I tried to launch it on an EL9 based environment, but this does not work even with --privileged, seemingly because of incompatibilities with EL9 and EL7's cgroups. When I switched to rocky9 as a base in cazlo#1, I was able to get past this issue, which gives me some confidence this will work without much fuss in an AWS context.

Disclaimer

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

without this, it was pulling the latest variant of al2023, which does not have dependencies:
- xz-utils (though it has xz which is probably equivalent)
- xvattr
- gnome (no GUI support at all yet according to AWS docs, see https://repost.aws/questions/QUpKlYAHccTyaFv7AaSJx4kw/how-to-install-a-gui-in-amazon-linux-2023, https://docs.aws.amazon.com/linux/al2023/ug/compare-with-al2.html#graphical-desktop-support)
should hopefully yield better caching, may need to switch order of driver install and dcv install layers...
this is the same driver version as used by the currently latest available "EKS optimized" GPU instance AMI, `amazon-eks-node-1.28-v20231220`.

See also https://github.com/awslabs/amazon-eks-ami/blob/569c6b146cbf28af71485a9f30171241643174c3/CHANGELOG.md#L70
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update to latest available nvidia drivers Change Amazon Linux latest to 2 Update to DCV 2023

1 participant